package com.kgar.repository;


import com.kgar.entity.graph.node.ResumeNode;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.data.neo4j.repository.query.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface ResumeRepository extends Neo4jRepository<ResumeNode,Integer> {

    @Query("match (n:Resume) where n.resumeId = $resumeId return n" )
    ResumeNode findByResumeId(Integer resumeId);

}
